package com.google.code.main;

import java.util.ArrayList;

public class RandomNumberArray {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		ArrayList<Integer> tmp = new ArrayList<Integer>();
		for (int i = 2; i < 255; i++)
			tmp.add(i);

		String str = "";
		int sz = tmp.size();
		while (sz > 0) {
			int idx = (int) (Math.random() * sz);
			int ip = tmp.remove(idx);
			str += ip;
			if (sz > 1)
				str += ",";
			sz--;
		}

		System.out.println(str);
	}

}
